package com.kede.service;

import com.kede.entity.DemandInformation;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;

/**
 * <p>
 * 求购信息 服务类
 * </p>
 *
 * @author 【yg】
 * @since 2020-04-02
 */
public interface DemandInformationService extends IService<DemandInformation> {

    @Cacheable("supplyList")
    List<DemandInformation> getListByUserId();
}
